package avicit.bdp.dms.dss.dto;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;


/** 
 * 数据资源标签关联表实体
 * 
 */
@ApiModel(value = "ResourceTagDTO", description = "数据资源标签关联表")
@Table(name = "bdp_dss_resource_tag")
public class ResourceTagDTO extends BaseDTO {

	/**
	* 主键
	*
	*/
	@LogField
	@ApiModelProperty(value = "主键")
	@FieldRemark(column = "id", field = "id", name = "主键")
	@Column(name = "id")
	@Id
	@javax.persistence.Id
	private String id;

	/**
	 * 数据资源id
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "数据资源id")
	@FieldRemark(column = "dataResourceId", field = "dataResourceId", name = "数据资源id")
	@Column(name = "data_resource_id")
    private String dataResourceId;

	/**
	 * 标签id
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "标签id")
	@FieldRemark(column = "tagId", field = "tagId", name = "标签id")
	@Column(name = "tag_id")
    private String tagId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDataResourceId() {
		return dataResourceId;
	}

	public void setDataResourceId(String dataResourceId) {
		this.dataResourceId = dataResourceId;
	}

	public String getTagId() {
		return tagId;
	}

	public void setTagId(String tagId) {
		this.tagId = tagId;
	}

}

